package com.example.dao;

import com.example.entity.SysStoreClientsEntity;
import com.example.mybatis.dao.BaseDao;
import com.example.entity.SysStoreEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 租户门店表
*
* @author yyyyjinying 1020066395@qq.com
* @since 1.0-SNAPSHOT 2025-04-19
*/
@Mapper
public interface SysStoreDao extends BaseDao<SysStoreEntity> {
	List<SysStoreClientsEntity> selectClientByStoreId(@Param("storeId") Long storeId);
	void batchInsertClientIdStoreId(@Param("list") List<SysStoreClientsEntity> list);
	void batchDeleteByStoreIdAndClientIds(@Param("storeId") Long storeId, @Param("clientIds") List<String> clientIds);
	void deleteByStoreIdAndClientIds(@Param("storeIds") List<Long> storeIds);
}